package com.jic.finance.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.finance.entity.PaymentGateway;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 支付网关
 * @author : 
 * @email : 
 * @since : 2020-03-04 10:48:48
 * @version : v1.0.0
 */
@Mapper
public interface  PaymentGatewayMapper {

    long insert(PaymentGateway paymentGateway);

    long delete(Long id);

    long update(PaymentGateway paymentGateway);

    PaymentGateway queryByPrimaryKey(Long id);

    List<PaymentGateway> query(PaymentGateway paymentGateway);

    List<PaymentGateway> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("paymentGateway") PaymentGateway paymentGateway);

    long queryPageCount(PaymentGateway paymentGateway);
}